
package com.bei_en.teacher.admin.persistence.dao.sys;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.admin.model.sys.bean.SysConstant;
import com.bei_en.teacher.admin.model.sys.condition.SysConstantCondition;
import com.bei_en.teacher.admin.persistence.BaseDao;

/**
 * 
 * @author Guocg
 * @date 2016-11-26 9:43:16
 */
@Repository
public interface SysConstantDao extends BaseDao<SysConstant, Integer> {

    Integer findNumberByCondition(SysConstantCondition vo);

    List<SysConstant> findPageBreakByCondition(SysConstantCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
